<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    //列表
    var List = {{ List|safe }};
    //字典
    var Dict = {{ Dict|safe }};

    console.log(List);
    console.log(Dict);
</script>
</body>
</html>